<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
  layout:decorator="layouts/layout" th:with="header='库存转批记录', subtext='管理系统中库存转批记录数据'" style="overflow: hidden;">

<head>
  <title>库存转批记录</title>
</head>
<body style="overflow: hidden;">

  <th:block layout:fragment="content">
    <div id="query-area" class="box-body m-b-sm border-bottom">
      <form class="form-horizontal search-form" role="form">

        <div class="row">
          <div class="col-sm-3">
            <div class="form-group">
              <label class="control-label col-sm-3">物料编码</label>
              <div class="col-sm-9">
                <input type="text" id="material" name="material" placeholder="输入物料编码或名称搜索" class="form-control" />
              </div>
            </div>
          </div>

          <div class="col-sm-3">
            <div class="form-group">
              <label class="control-label col-sm-3">旧WBS</label>
              <div class="col-sm-9">
                <input type="text" id="wbsnum" name="wbsnum" placeholder="输入旧WBS搜索" class="form-control" />
              </div>
            </div>
          </div>

          <div class="col-sm-3">
            <div class="form-group">
              <label class="control-label col-sm-3">新WBS</label>
              <div class="col-sm-9">
                <input type="text" id="towbsnum" name="towbsnum" placeholder="输入新WBS搜索" class="form-control" />
              </div>
            </div>
          </div>
        </div>

        <div class="row">
            <div class="col-sm-3">
              <div class="form-group">
                <label class="control-label col-lg-3 label-width-1">时间</label>
                <div class="col-lg-9"> <input id="fromdate" name="fromdate" class="form-control form_datetime">
                </div>
              </div>
            </div>

            <div class="col-sm-3">
              <div class="form-group">
                <label class="control-label col-lg-3 label-width-1">至</label>
                <div class="col-lg-9"> <input id="todate" name="todate" class="form-control form_datetime">
                </div>
              </div>
            </div>

        </div>

        <div class="row m-t">
          <div class="col-lg-12 seach-button">
            <div class="pull-right">
              <button type="submit" id="search" class="btn btn-primary">
                <i class="fa fa-search"></i> 搜索
              </button>
              <button type="reset" id="clear" class="btn btn-danger">
                <i class="fa fa-remove"></i> 清除
              </button>
            </div>
          </div>
        </div>
      </form>
    </div>

    <div class="row">
      <div class="col-lg-12">
        <div class="box">
          <div class="box-body">
            <h2>
              <!--
              <a  class="btn btn-primary btn-sm" th:href="@{|${baseUrl}/add|}" th:title="添加库存批次">
                <i class="fa fa-fw fa-plus"></i> 添加
              </a>
              <a  class="btn btn-primary btn-sm" th:href="@{|${baseUrl}/hold|}" th:title="按批次冻结库存">
                <i class="fa fa-fw fa-plus"></i> 冻结
              </a>
              <a  class="btn btn-danger btn-sm delAll" href="javascript:;" th:title="删除库存批次">
                <i class="fa fa-fw fa-trash"></i> 删除
              </a>
               -->
            </h2>
            <div id="tableWrapper">
              <table id="table" class="table table-striped table-hover table-bordered table-fixed">
                <thead style="position:sticky;top:0;z-index:10;">
                <tr>
                  <th style="width:50px;">
                    <a href="javascript:;" class="selectAll" title="全选">全选</a>
                  </th>
                    <th style="width:100px;">供应商</th>
                    <th style="width:100px;">物料编码</th>
                    <th style="width:260px;">物料描述</th>
                    <th style="width:100px;">WMS批次号</th>
                    <th style="width:100px;">旧WBS</th>
                    <th style="width:100px;">新WBS</th>
                    <th style="width:80px;">同步数量</th>
                    <th style="width:160px;">同步时间</th>

                  </tr>
                </thead>
                <tbody>
                </tbody>
              </table>
            </div>
          </div>
        </div>
      </div>
    </div>
    <form id="delForm" method="post" style="display: none" th:action="@{|${baseUrl}/del|}">
      <input id="ids" type="hidden" name="ids" />

    </form>
  </th:block>
  <th:block layout:fragment="scripts">
    <script th:src="@{|${theme}/js/app/inventory/wbstransfer_list.js?v=${applicationVersion}|}" th:inline="javascript"></script>
    <script th:src="@{|${theme}/plugins/datetimepicker/bootstrap-datetimepicker.min.js?v=${applicationVersion}|}" th:inline="javascript"></script>
    <script th:src="@{|${theme}/plugins/datetimepicker/locales/bootstrap-datetimepicker.zh-CN.js?v=${applicationVersion}|}" th:inline="javascript"></script>
  </th:block>
</body>

</html>
